package com.anyi.blog.service;

import com.anyi.blog.entity.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.stereotype.Service;

@Service
public interface UserService {
     User login(String username, String password);

     User register(User request);

     UserDetails selectByUsername(String username);
}
